package com.sc.util.data;

/**
 * 处理微信支付结果枚举
 * 参考：https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_2
 */
public enum WinXinReturnEnum {

	//交易类型
	TRADE_TYPE_JSAPI("JSAPI","公众号支付"),
	TRADE_TYPE_NATIVE("NATIVE","公众号支付"),
	TRADE_TYPE_APP("APP","微信app支付"),
	TRADE_TYPE_MICROPAY("MICROPAY","刷卡支付"),
	//银行类型
	BANK_TYPE_ICBC_DEBIT("JSAPI","工商银行(借记卡)"),	
	BANK_TYPE_ICBC_CREDIT("JSAPI","工商银行(信用卡)");
	/** 字段 */
	public String name;
	/** 字段描述*/
	public String desc;
	
	WinXinReturnEnum(String name, String desc){
		this.name = name;
		this.desc = desc;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}
